package com.kygeng.springframework.context;

import com.kygeng.springframework.beans.BeansException;
import com.kygeng.springframework.beans.factory.Aware;

/**
 * @Title: ApplicationContextAware
 * @Author: kygeng
 * @Package: com.kygeng.springframework.context
 * @Date: 2024/8/3 9:11
 * @Description: 实现此接口，既能感知到所属的 ApplicationContext
 */
public interface ApplicationContextAware extends Aware {

    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;
}
